<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

//car_id','odds','handles','department_id','record_id','desc'

$factory->define(App\Models\CarModels\CarYearCheckRecord::class, function (Faker $faker) {
    return [
        'car_id' => $faker->numberBetween(1,5),
        'odds' => $faker->numberBetween(1,5),
        'department'=>$faker->name,
        'record_id'=>$faker->numberBetween(1,5),
        'desc'=>$faker->sentence(1),
        'handles'=>$faker->numberBetween(1,5),
        'check_time'=>$faker->dateTime,
        'next_check_time'=>$faker->dateTime,
        'has_fee'=>$faker->boolean,
        'fee'=>$faker->numberBetween(100,2000)
    ];
});
